package com.hw.one.collect;

import org.apache.log4j.Logger;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StartCtx {

	private static Logger log = Logger.getLogger(StartCtx.class);

	public static void main(String[] args) {
		log.info("启动加载器开始");
		AbstractApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:applicationContext.xml");
		ctx.start();
		log.info("启动加载完成");
	}
}
